home *** CD-ROM | disk | FTP | other *** search
- Document Type: WSE
- item: Global
- Version=6.0
- Title=Left$
- Flags=00000100
- Split=1420
- Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
- Copy Default=1
- Japanese Font Name=MS Gothic
- Japanese Font Size=10
- Start Gradient=0 0 255
- End Gradient=0 0 0
- Windows Flags=00000000000000000010110000001000
- Message Font=MS Sans Serif
- Font Size=8
- Disk Filename=SETUP
- Patch Flags=0000000000000001
- Patch Threshold=85
- Patch Memory=4000
- FTP Cluster Size=20
- end
- item: Remark
- end
- item: Remark
- Text=This Wise 6.0 sample script shows how to use the Expression Left$ in the parser.
- end
- item: Remark
- end
- item: Remark
- Text=This part of the code is devoted to getting input from the user.
- end
- item: Prompt for Text
- Window Title=Expression Parser - Left$ Test
- Prompt Title=Please enter an alphanumeric value.
- Variable=ALPHANUMERIC
- end
- item: Prompt for Text
- Window Title=Expression Parser - Left$ Test
- Text=The number you enter must not be more than the number of characters in the alphanumeric previously entered.
- Prompt Title=Please enter an number.
- Variable=NUMBER
- end
- item: Remark
- end
- item: Remark
- Text=This is the first way to use the expression parser.
- end
- item: Remark
- Text=This first value is the variable to be parsed, and the second is how many spaces to parse.
- end
- item: Set Variable
- Variable=ENDRESULT
- Value=Left$(Alphanumeric,Number)
- Flags=00100000
- end
- item: Display Message
- Title=Expression Parser - Left$ Test 1.
- Text=This Display message shows the set variable command in conjunction with the Expression parser.
- Text=
- Text=The first %NUMBER% letter(s) of %ALPHANUMERIC% is/are %ENDRESULT%.
- end
- item: Remark
- end
- item: Remark
- Text=This is the other way to use the expression parser.
- end
- item: Remark
- Text=You can also use the command options such as <, >, >=, <=, and, or, not, and <>.
- end
- item: If/While Statement
- Value=Endresult = Left$(Alphanumeric,Number)
- Flags=00001101
- end
- item: Display Message
- Title=Expression Parser - Left$ Test 2.
- Text=This Display message shows an if/while statement in conjunction with the Expression parser.
- Text=
- Text=Yes, The first %NUMBER% letter(s) of %ALPHANUMERIC% is/are %ENDRESULT%.
- end
- item: End Block
- end
-